<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri = "http://java.sun.com/jstl/core_rt"  prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html>
  <head>
  	<base href="<%=basePath%>">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title></title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="robots" content="all,follow">
    <link rel="stylesheet" href="vendor/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="css/orionicons.css">
    <link rel="stylesheet" href="css/style.default.css" id="theme-stylesheet">
    <link rel="shortcut icon" href="img/favicon.png?3">
  </head>
  <body>
    
    <div class="d-flex align-items-stretch">
      <div id="sidebar" class="sidebar py-3">
        <div class="text-gray-400 text-uppercase px-3 px-lg-4 py-4 font-weight-bold small headings-font-family">后台管理系统</div>
        <ul class="sidebar-menu list-unstyled">
              <li class="sidebar-list-item"><a href="index.jsp" class="sidebar-link text-muted"><i class="o-table-content-1 mr-3 text-gray"></i><span>管理（管理员）</span></a></li>
              <li class="sidebar-list-item"><a href="add.jsp" class="sidebar-link text-muted active"><i class="o-table-content-1 mr-3 text-gray"></i><span>添加（管理员）</span></a></li>
        </ul>
      </div>
      <div class="page-holder w-100 d-flex flex-wrap">
        <div class="container-fluid px-xl-5">
          <section class="py-5">
            <div class="row">
              <div class="col-lg-12 mb-4">	
                <div class="card">
                  <div class="card-header" align="center">
                    <h6 class="text-uppercase mb-0">注册</h6>
                   </div>
				   	<form action="${pageContext.request.contextPath }/servlet/Controller?op=add&currentPageIndex=1" method="post">
						<table id="t1" align="center">
							<tr>
								<td><label class="form-control-label text-uppercase">账号:</label></td>
								<td><input type="text" class="form-control" name="name">
							</td>
							</tr>
							<tr>
								<td><label class="form-control-label text-uppercase">密码:</label></td>
								<td><input type="password" class="form-control" name="password">
								</td>
							</tr>
							<tr>
								<td><label class="form-control-label text-uppercase">类型:</label></td>
								<td><input type="radio" name="type" value="用户"
									checked>用户 <input type="radio" name="type" value="客户">客户<input type="radio" name="type" value="机器人">机器人
								</td>
							</tr>
							<tr>
								<td><label class="form-control-label text-uppercase">电话:</label></td>
								<td><input type="text" class="form-control" name="phone">
								</td>
							</tr>
							<tr>
								<td><label class="form-control-label text-uppercase">邮箱：</label></td>
								<td><input type="text" class="form-control" name="email">
								</td>
							</tr>
							<tr>
								<td colspan="2"><input type="submit" class="btn btn-primary" value="添加">
								</td>
							</tr>
						</table>
					</form>
                </div>
              </div>
            </div>
          </section>
        </div>
        <footer class="footer bg-white shadow align-self-end py-3 px-xl-5 w-100">
          <div class="container-fluid">
            <div class="row">
            </div>
          </div>
        </footer>
      </div>
    </div>
    <script src="vendor/jquery/jquery.min.js"></script>
    <script src="vendor/popper.js/umd/popper.min.js"> </script>
    <script src="vendor/bootstrap/js/bootstrap.min.js"></script>
    <script src="vendor/jquery.cookie/jquery.cookie.js"> </script>
    <script src="vendor/chart.js/Chart.min.js"></script>
    <script src="js/js.cookie.min.js"></script>
    <script src="js/front.js"></script>
  </body>
</html>